
#ifndef EXAMPLE_BEZIER_CURVE_EDITOR_H
#define EXAMPLE_BEZIER_CURVE_EDITOR_H

#include <QtGui/QMainWindow>
#include "ui_Example_Bezier_Curve_Editor.h"
#include <sxQOpenGL_Viewport.h>
#include <sxOpenGL_Context.h>
#include <sxBezierEditController.h>

using Sx::OpenGL::Graphics::Contexts::OpenGL_Context;
using Sx::Interface::BezierEditController;

class Example_Bezier_Curve_Editor : public QMainWindow {
	Q_OBJECT

public:
	Example_Bezier_Curve_Editor(QWidget *parent = 0, Qt::WFlags flags = 0);
	~Example_Bezier_Curve_Editor();

	void resizeEvent(QResizeEvent* e);

private:
	Ui::Example_Bezier_Curve_EditorClass ui;

	Sx::QtInterface::QOpenGL_Viewport* openglViewport;

	std::shared_ptr<OpenGL_Context> openglContext;
	std::shared_ptr<BezierEditController> bezierController;
};

#endif
